﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//定义编号（Id）、姓名（Name）、性别（Sex）、身份证号（Cardid）、联系方式（Tel）、专业（Major）、年级（Grade）
namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Student stu = new Student();
            stu.id = 123;
            stu.name = "李四";
            stu.sex = "男";
            stu.cardid = 123456789123456789;
            stu.tel = 1234567890;
            stu.grade = 7;
            stu.major = "计算机";
            stu.Aa();


            Teacher tea = new Teacher();
            tea.id = 1234;
            tea.name = "王五";
            tea.sex = "男";
            tea.cardid = 123456789123456789;
            tea.tel = 1234567890;
            tea.title = "老师";
            tea.wageno = 232;
            tea.Aa();
        }
    }
}
